package com.microservice.skeleton.resource.client;

import com.microservice.skeleton.resource.config.FeignConfig;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "mss-upms")
public interface UpmsClient {

    @GetMapping("role/getRoleByUserId/{userId}")
    public String getRoleByUserId(@PathVariable("userId") Integer userId);
}
